import request from '@/utils/request'

//获取学习进度列表
export function getLearnProgress(params) {
	return request({
		method: 'get',
		url: 'sysLearningProgress/list',
		params
	})
}

//添加学习进度
export function addedLearnProgress(data) {
	return request({
		method: 'post',
		url: 'sysLearningProgress/add',
		data,
	})
}

//更新学习进度
export function updateLearnProgress(data) {
	return request({
		method: 'post',
		url: 'sysLearningProgress/update',
		data,
	})
}

//批量删除学习进度
export function batchDeleteProgress(data) {
	return request({
		method: 'post',
		url: 'sysLearningProgress/deleteBatch',
		data
	})
}